package com.rssnews.pojo;

/**
 * Created by dzhou on 2018/6/5.
 */
public class Author {
    private int authorId;
    private String loginName;
    private String loginPwd;
    private String realName;
    private String  email;
    private int authortypeId;

    public Author(int authorId, String loginName, String loginPwd, String realName, String email, int authortypeId) {
        this.authorId = authorId;
        this.loginName = loginName;
        this.loginPwd = loginPwd;
        this.realName = realName;
        this.email = email;
        this.authortypeId = authortypeId;
    }

    @Override
    public String toString() {
        return "author{" +
                "authorId=" + authorId +
                ", loginName='" + loginName + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", realName='" + realName + '\'' +
                ", email='" + email + '\'' +
                ", authortypeId=" + authortypeId +
                '}';
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getAuthortypeId() {
        return authortypeId;
    }

    public void setAuthortypeId(int authortypeId) {
        this.authortypeId = authortypeId;
    }
}
